#ifndef EGG_LIGHT_H
#define EGG_LIGHT_H

#include "GlobalGPUParamGroup.h"

namespace egg{

    class RenderContext;

    class Light {
    public:
        Light(LightType _type);
    public:
        virtual void activate(RenderContext& _context);

        inline bool isCastShadow(){
            return mCastShadow;
        }
        inline LightType getType(){
            return mType;
        }
    public:
        vec4 mColor;
    protected:
        bool mCastShadow;
        LightType mType;
    };

}

#endif